import { createRouter, createWebHashHistory } from 'vue-router';
import homeRoutes from './routes/home.js';
import avatarRoutes from './routes/avatar.js';
import socialRoutes from './routes/social.js';
import chatRoutes from './routes/chat.js';
import userRoutes from './routes/user.js';

const routes = [
  ...homeRoutes,
  ...avatarRoutes,
  ...socialRoutes,
  ...chatRoutes,
  ...userRoutes
];

const router = createRouter({
  history: createWebHashHistory(),
  routes
});

export default router; 